/**
 * 
 */
package org.ucn.dmaa0914.gruppe6;

/**
 * @author Kim
 *
 */
public class ItemSearchFilter implements SearchFilter<Item> {

	@Override
	public boolean isCandidate(Item object, String searchData) {
		return object.getBarcode().contains(searchData) || object.getTitle().contains(searchData);
	}

}
